home *** CD-ROM | disk | FTP | other *** search
/ IRIX Development Foundation 1.1 for IRIX 6.4 / SGI IRIX 6.4 Development Foundation 1.1.iso / relnotes / modules / ch4.z / ch4
Text File  |  1998-03-26  |  2KB  |  53 lines

  1. Installing MPT in an alternate location for use with modules:
  2. -------------------------------------------------------------
  3.  
  4. Install the modules package into the default root. Once this is done,
  5. you can install the MPT software as follows.
  6.  
  7. # inst -r /opt/mpt/"version" -f "location of mpt dist" -Vrulesoverride:on -a
  8.  
  9. The "version" string should match the 4 digit release string of the
  10. particular mpt package you are instaling. This version can be determined
  11. as follows:
  12.  
  13. # showprods -f "location of mpt dist" sma | grep -i mpt 
  14.    sma                            SMA 3.1.0.0 (MPT 1.2.0.0)
  15.    sma.relnotes                   MPT 1.2.0.0 Release Notes
  16.    sma.relnotes.relnotes          MPT 1.2.0.0 Release Notes
  17.  
  18. In the above example, version would be 1.2.0.0.
  19.  
  20. Please note that -Vrulesoverride:on is needed to install due to the fact that
  21. /opt/mpt/"version" will not be a complete root but only a partial root
  22. containing only the mpt software. The -Vrulesoverride:on will turn off
  23. the verification of prequisite sub-systems.
  24.  
  25. Once the software is installed, you must set the mpt link as follows:
  26.  
  27. # cd /opt/mpt
  28. # ln -s "version" mpt        (mpt modulefile uses this link)
  29.  
  30. The mpt modulefile will work with the above general installation.
  31.  
  32. To access the mpt software using modules:
  33.  
  34. % source /opt/modules/modules/init/csh   (should be added to .cshrc)
  35. % module load modules             (should be added to .cshrc)
  36. % module load mpt                    (can be added to .cshrc)
  37.  
  38. Creating a modulefile for a specific version of mpt:
  39. ----------------------------------------------------
  40.  
  41. For each version of the MPT software you maintain, you can create
  42. a modulefile for it by copying the mpt modulefile to /opt/modulefiles
  43. as mpt."version". Then edit mpt."version" and change the value of
  44. MPT_LEVEL to "version".
  45.  
  46. Example: You have installed version 1.2.0.1 as /opt/mpt/1.2.0.1.
  47. To create a modulefile for /opt/mpt/1.2.0.1, copy /opt/modulefiles/mpt
  48. to /opt/modulefiles/mpt.1.2.0.1. The edit /opt/modulefiles/mpt.1.2.0.1
  49. and  change the value of MPT_LEVEL to 1.2.0.1.  Users can then change
  50. between this version and any other version using the module swap command.
  51.  
  52. % module swap mpt mpt.1.2.0.1
  53.